package com.sxt.service;

import java.util.ArrayList;
import java.util.List;

import com.sxt.entity.Book;

/**
 * 查找所有书
 * @author LiangJie
 *
 */
public class SimpleBookFinderImpl implements IBookFinder {

	@Override
	public List<Book> findAll() {
		List<Book> list = new ArrayList<Book>();
		for (int i = 0; i < 5; i++) {
			list.add(new Book("Book" + i, "Author" + i));
		}
		return list;
	}
}
